function dummyInit() {
    // Everything to initially create the partial window
    function createDOM(){
        $('#DummyTextFromScript').text("Hello World, this text is coming from the script!");
    }

    // Everything regarding emosWS connections. Actual Data and stuff
    function dataHandler(){

    }

    // Everything with user input
    function eventHandler() {
        // On closing of the frame, remove the data listener from emosWS
        $("#DUMMYCONTAINER").on("remove", function() {
            emosWS.unadvise(advisedId);
        });
    }

    createDOM();
    dataHandler();
    eventHandler();

}